//
//  QqChannelApi.h
//  kq_flutter_core_widget
//
//  Created by wtb on 2024/12/29.
//

#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>

NS_ASSUME_NONNULL_BEGIN

@interface QqChannelApi : NSObject

+(instancetype _Nullable)defualtQqChannelApi;
// 是否安装QQapp
//-(void)isInitialQqApp:(FlutterResult)result;

// 注册QQ
//-(void)registerQq:(FlutterMethodCall *)call result:(FlutterResult)result;

// 授权QQ
-(void)handleQqAuthCall:(FlutterMethodCall *)call result:(FlutterResult)result;

// QQ文本分享
-(void)handleQqShareTextCall:(FlutterMethodCall *)call result:(FlutterResult)result;

// QQ网页分享
-(void)handleQqShareWebCall:(FlutterMethodCall *)call result:(FlutterResult)result;

+ (BOOL)handleOpenURL:(NSURL *)url;
+ (BOOL)continueUserActivity:(NSUserActivity *)userActivity;

//QQ图片分享
-(void)handleQqShareImageCall:(FlutterMethodCall *)call result:(FlutterResult)result;

@end

NS_ASSUME_NONNULL_END
